<?php

class Veneer_Form
{
	protected $_form;
	protected $_page;
	function __construct()
	{
		$this->_form= new Zend_Form();
		$this->_form->setDataSource($_POST);
		$this->_form->addPage('form1');
	}
/*
	$form->addPage('regForm');
	$form->regForm->addField('username');
    $this->regForm->username->addValidator('Alnum');
*/
	function getData()
	{
		return $this->_form->getData();
	}
	function addField($fieldName)
	{
		return $this->_form->addField($fieldName);
	}
	function isValid()
	{
		return $this->_form->isValid();
	}
	function addField($fieldName)
	{
		return $this->_form->addField($fieldName);
	}

}